package com.chrray.position.service.web;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.chrray.position.domain.FdJobPostings;
import com.chrray.position.domain.SysArea;
import com.chrray.position.domain.dto.DictionaryDTO;
import com.chrray.position.domain.dto.FdJobPostingsDTO;
import com.chrray.position.domain.dto.GrabJobsDTO;
import com.chrray.position.domain.dto.search.GrabJobSearch;
import com.chrray.position.domain.dto.search.JobPageSearch;
import com.chrray.position.domain.dto.search.MyJobSearchSearch;
import com.chrray.position.domain.vo.FdJobPostingsVO;
import com.chrray.position.entity.position.FdJobPostingsExe;
import com.chrray.position.pojo.dto.web.FdJobPostingsApplyDto;
import com.chrray.position.pojo.dto.web.FdJobPostingsFavDto;
import com.chrray.position.pojo.response.UploadDeviceVO;
import com.chrray.position.util.result.ResponseResult;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

public interface WFdJobPostingsService extends IService<FdJobPostings> {

    IPage pageList(FdJobPostingsExe entity);

    IPage pageCheckList(FdJobPostingsExe entity);

    IPage FdJobPostings(FdJobPostingsExe entity);

    ResponseResult check(FdJobPostings job);

    IPage pageMyPostingsApplyList(FdJobPostingsApplyDto entity);

    IPage pageMyPostingsFavList(FdJobPostingsFavDto entity);

    ResponseResult<List<SysArea>> districtSelection(Long code);

    ResponseResult<FdJobPostings> selectById(Long id);

    void publishJob(FdJobPostings job);

    ResponseResult<UploadDeviceVO> importAdjective(MultipartFile file);

    void update(FdJobPostings job);

}
